﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UtilZ.Dotnet.Ex.Exceptions
{
    /// <summary>
    /// 通信连接异常
    /// </summary>
    public class ConnectException : Exception
    {
        /// <summary>
        /// 初始化构造函数
        /// </summary>
        /// <param name="message">错误信息</param>
        public ConnectException(string message)
            : base(message)
        {

        }

        /// <summary>
        /// 初始化构造函数
        /// </summary>
        /// <param name="message">错误信息</param>
        /// <param name="innerException">内部异常</param>
        public ConnectException(string message, Exception innerException)
            : base(message, innerException)
        {

        }
    }
}
